<?php
	
	include "../model/Driver.php";
	include "../dao/DriverDAO.php";
	
	$driver = new Driver();
	
	$driver->setNome($_POST['nome']);
	$driver->setPorta($_POST['porta']);
	
	$driverdao = new DriverDAO();
	$driverdao->insert($driver);
?>